using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using Gammar.Digger.Entity;
using Gammar.Digger.SystemFramework;
namespace Gammar.Digger.IDAL
{
	public interface Ierror_type
	{
		//C
        int Add(error_typeEntity error_type);
		
		int AddPartial(error_typeEntity entity);

        //U
        int Update(error_typeEntity error_type);

        int Updatepartial(error_typeEntity entity, string where);

		int UpdateBytype_id(error_typeEntity error_type);
		
        //D
        int Delete(string where);

        //R
        object GetCell(string cellName, string where);

        error_typeEntity GetEntity(int primaryKeyId);

        DataTable GetTable(string where);

        SortList<error_typeEntity> GetList(string strWhere);

        List<error_typeEntity> GetPartial(string[] selectedFields,string where);
	}
}

